package com.itheima.mm.wx.mapper;

import com.itheima.mm.pojo.Dict;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description DictMapper
 * @Author junyi
 * @Date 2024-06-27
 */
@Mapper
public interface DictMapper {


    /**
     * 获取城市列表
     *
     * @param tag
     * @return
     */
    List<Dict> selectCityList(String tag);

    /**
     *根据城市名字获取某一具体城市
     *
     * @param cityName
     * @return
     */
    Dict selectCityName(String cityName);


}


